package cc.yugu.yhdw.common.domain.basic;

import cc.yugu.yhdw.common.domain.IntIdEntity;
import cc.yugu.yhdw.common.entity.json.DateTimeSerializer;
import org.codehaus.jackson.map.annotate.JsonSerialize;

import java.util.Date;

/**
 * 评分实体类
 * 
 * @Date:Created in 2018/7/25 10:24
 * @Author:
 * @Modified By: zjn 2018/7/25 10:24
 */ 
public class AppGrade extends IntIdEntity {

    String mobile; //手机
    Float grade; //分
    Date createTime; //创建时间

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public Float getGrade() {
        return grade;
    }

    public void setGrade(Float grade) {
        this.grade = grade;
    }

    @JsonSerialize(using = DateTimeSerializer.class)
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
